/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jjsoft.celularessuc.gco.util;

/**
 *
 * @author Marcelo
 */
public class ElementoYaExisteException extends Exception {
    private String atributo;
    private Object valor;

    public ElementoYaExisteException(String string) {
        super(string);
    }

    public ElementoYaExisteException(String atributo, Object valor, String string, Throwable thrwbl) {
        super(string, thrwbl);
        this.atributo = atributo;
        this.valor = valor;
    }

    public ElementoYaExisteException(String atributo, Object valor, Throwable thrwbl) {
        super(thrwbl);
        this.atributo = atributo;
        this.valor = valor;
    }   

    public String getAtributo() {
        return atributo;
    }

    public Object getValor() {
        return valor;
    }
    
}
